<?php

class AddGroupEvt extends BaseUpdateEvt
{
	function __construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode,
						$phoneNumber, $groupCode, $groupName, $description)
						{
							parent::__construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode);
							
							$this->phoneNumber		= $phoneNumber;
							$this->groupCode 		= $groupCode;
							$this->groupName 		= $groupName;
							$this->description		= $description;
						}
	public $phoneNumber;
	public $groupCode;
	public $groupName;
	public $description;
}

class AddGroupResp extends Response
{
	public $groupID;
}

class DelGroupEvt extends BaseUpdateEvt
{
	function __construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode,
						$phoneNumber, $groupCode)
						{
							parent::__construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode);
							
							$this->phoneNumber		= $phoneNumber;
							$this->groupCode 		= $groupCode;
						}
	public $phoneNumber;
	public $groupCode;
}

class EditGroupEvt extends BaseUpdateEvt
{
	function __construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode,
						$phoneNumber, $groupCode, $groupName, $description)
						{
							parent::__construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode);
							
							$this->phoneNumber		= $phoneNumber;
							$this->groupCode 		= $groupCode;
							$this->groupName 		= $groupName;
							$this->description		= $description;
						}
	public $phoneNumber;
	public $groupCode;
	public $groupName;
	public $description;
}

class QueryGroupEvt extends BaseQueryEvt 
{
	function __construct($portalAccount, $portalPwd, $portalType, $startRecordNum, $endRecordNum, $queryType, $phoneNumber)
	{
		parent::__construct($portalAccount, $portalPwd, $portalType, $startRecordNum, $endRecordNum, $queryType);
		
		$this->phoneNumber  	= $phoneNumber;
	}
	
	public $phoneNumber;
}

class QueryGroupResp extends BaseQueryResp
{
	public $groupInfos;
}

class GroupInfo
{
	public $phoneNumber;
	
	public $groupCode;
	
	public $groupName;
	
	public $description;
	
}

?>